home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Hot Mix 17
/
Hot Mix 17.iso
/
HM17_SGI
/
research
/
examples
/
doc
/
sigprc13
< prev
next >
Wrap
Text File
|
1997-07-08
|
353b
|
10 lines
; This batch file computes the coefficients of a discrete transfer
; function used in the Infinite Impulse Respose filter example from
; Chapter 13, "Signal Processing", of _Using IDL_.
delt = 0.02
f0 = 6.5 ; notch frequency in cycles / second
C = (1.0-!PI*f0*delt) / (1.0+!PI*f0*delt)
B = [(1+C^2)/2, -2*C, (1+C^2)/2]
A = [ C^2, -2*C, 1 ]